/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package beans;

import beans.ProductBean;

/**
 *
 * @author Vicky
 */
public class ProductToBuy {

    private StoreProductBean product;
    private int quantity;

    public ProductToBuy(){}

    public ProductToBuy(StoreProductBean product, int quantity){
        this.product = product;
        this.quantity= quantity;
    }

    /**
     * @return the product
     */
    public StoreProductBean getProduct() {
        return product;
    }

    /**
     * @param product the product to set
     */
    public void setProduct(StoreProductBean product) {
        this.product = product;
    }

    /**
     * @return the quantity
     */
    public int getQuantity() {
        return quantity;
    }

    /**
     * @param quantity the quantity to set
     */
    public void setQuantity(int quantity) {
        this.quantity = quantity;
    }


}
